//
//  CustomCell.m
//  SaveMoney
//
//  Created by Jose Sanchez on 02/09/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "CustomCell.h"


@implementation CustomCell

@synthesize value, name;

- (id) initWithCoder:(NSCoder *)aDecoder {
	if ((self = [super initWithCoder:aDecoder])) {
        // Initialization code
    }
    return self;
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if ((self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])) {
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void) configureWithName:(NSString *)_name value:(NSString *)_value row:(NSUInteger)row {
	
    
	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
	
    name.text = _name;
    value.text = _value;
    [pool release];
}

- (void)dealloc {
	self.value = nil;
	self.name = nil;
    [super dealloc];
}

@end
